<?php

class AdminController extends Controller
{
	public function actionIndex()
	{
		Scan::scanFolders();

		$this->redirect(Yii::app()->createUrl('site/index'));
	}
}